package com.wanxi.user.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:Iny
 * @Data：2022/1/10 16:12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户修改信息入参")
@Builder
public class UserInfoDto {
    @ApiModelProperty(value = "账号id，用于索引",required = true)
    private long id;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "手机")
    private String phone;
    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "出生日期")
    private String birthday;
    @ApiModelProperty(value = "性别")
    private int sex;
}
